home *** CD-ROM | disk | FTP | other *** search
/ Chip 2001 December / Chip_2001-12_cd1.bin / zkuste / tuning / download / xteq / setup.exe / {app} / plugins / XQ Welcome Options 1.xpl < prev    next >
Text File  |  2001-05-05  |  2KB  |  76 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 6.0"
  2. "TYPE"="6"
  3. "COUNT"="4"
  4. "UIPATH 1"="Appearance\System\Message Windows"
  5. "UIPATH 2"="Startup/Shutdown\Startup\Windows 9x/ME\80) Windows Launch"
  6. "UIPATH 3"="Startup/Shutdown\Startup\Windows NT/2K/XP\60) Windows Launch"
  7. "NAME"="Welcome Messages"
  8. "VERSION"="1.50"
  9. "LANGUAGE"="VBScript"
  10. "TEXT 1"="Show Windows "Welcome" window"
  11. "TEXT 2"="Show Internet Explorer "Welcome" window"
  12. "TEXT 3"="Show animated "<- Click here to begin""
  13. "TEXT 4"="Show pop-up messages during Login"
  14. "DESCRIPTION 1"="Some options about the startup-process."
  15. "AUTHOR"="Xteq Systems"
  16. "CONTACTURL"="http://www.xteq.com/"
  17. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  18. "COMMENT 1"=" "
  19.  
  20.  
  21. Sub Plugin_Initialize 
  22.  i=RegReadValue("HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Tips\Show")
  23.  if i=1000 then SetUIElement 1,true
  24.  if IsEmpty(i) then SetUIElement 1,true
  25.  
  26.  i=RegReadValue("HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Tips\ShowIE4")
  27.  if i=1 then SetUIElement 2,true
  28.  
  29.  i=RegReadValue("HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoStartBanner")
  30.  if i=0 then SetUIElement 3,true
  31.  
  32.  i=RegReadValue("HKLM\System\CurrentControlSet\Control\Windows\NoPopUpsOnBoot")
  33.  if i=0 then SetUIElement 4,true
  34. End Sub
  35.  
  36.  
  37. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  38.  b=GetUIElement(1)
  39.  if b=true then
  40.   Call RegWriteValue("HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Tips\Show","1000",3)
  41.  else
  42.   Call RegWriteValue("HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Tips\Show","0000",3)
  43.  end if
  44.  
  45.  b=GetUIElement(2)
  46.  if b=true then
  47.   Call RegWriteValue("HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Tips\ShowIE4",1,2)
  48.  else
  49.   Call RegWriteValue("HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Tips\ShowIE4",0,2)
  50.  end if
  51.  
  52.  b=GetUIElement(3)
  53.  if b=true then
  54.   Call RegWriteValue("HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoStartBanner",0,2)
  55.  else
  56.   Call RegWriteValue("HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoStartBanner",1,2)
  57.  end if
  58.  
  59.  b=GetUIElement(4)
  60.  if b=true then
  61.   Call RegWriteValue("HKLM\System\CurrentControlSet\Control\Windows\NoPopUpsOnBoot","0",1)
  62.  else
  63.   Call RegWriteValue("HKLM\System\CurrentControlSet\Control\Windows\NoPopUpsOnBoot","1",1)
  64.  end if
  65.  
  66.  
  67.  Call Restart()
  68. End Sub
  69.  
  70.  
  71. Sub Plugin_Terminate 
  72. End Sub
  73.  
  74.  
  75.  
  76.